package com.cetcs.kmga.dataManager.entity.sysManager.vo;

import java.text.DecimalFormat;

/**
 * 类注释
 * 设备状态信息
 * @author yyangs
 * @version V1.0 创建时间：2017-09-05 15:34
 * Copyright 2017 by CETC
 */
public class ServerStatusVo {
    DecimalFormat df   = new DecimalFormat("######0.0");
    //cpu使用状态
    private Double cpuValue;
    //内存使用状态
    private Double dataValue;
    //磁盘IO使用状态
    private Double ioValue;

    public Double getCpuValue() {
        return cpuValue;
    }

    public void setCpuValue(Double cpuValue) {
        this.cpuValue = Double.valueOf(df.format(cpuValue));
    }

    public Double getDataValue() {
        return dataValue;
    }

    public void setDataValue(Double dataValue) {
        this.dataValue = Double.valueOf(df.format(dataValue));
    }

    public Double getIoValue() {
        return ioValue;
    }

    public void setIoValue(Double ioValue) {
        this.ioValue = Double.valueOf(df.format(ioValue));
    }
}
